package com.tingyuge.base.jdk.io.nio.path;

import java.nio.file.Path;
import java.nio.file.Paths;

/**
 * @author xiaodao
 * @version 1.0
 * @date 2022/1/12
 * @description
 */
public class PathDemo1 {
    public static void main(String[] args) {
        Path path = Paths.get("D:/nio/01.txt");

        //相对路径
        Path projects = Paths.get("D:/nio", "projects");

        Path file = Paths.get("D:/nio", "projects/01.txt");
    }
}
